<%= content_for :css do %>
<%= stylesheet_link_tag '/assets/teacher' %>
<style>
	#mainContent{height: <%= 110 + (@teachers.count * 175) %>px;}
</style>
<% end %>
<div id="orinfo"><%= link_to 'Home', root_path %> > Leadership Members</div>

<h1>Leadership Members</h1>

<ul class="lsmembers">
	<% @teachers.each do |teacher| %>
		<li>
			<%= link_to teacher.name + ' - ' + teacher.position, teacher_path(teacher) %>
			<%= link_to image_tag(teacher.img_src), teacher_path(teacher),  class: "img" %>
			<%= simple_format teacher.personal_info %>
		</li>
	<%end%>
</ul>
